package observerNotification;


/**
 * Message: created a new conversation
 * 
 * <p>
 * <ul>
 * <li>Project: 	ChatSystemG3</li>
 * </ul>
 * </p>
 * 
 * @author COMBES Nicolas - LECHANTRE Arnaud
 * @see ConversationObserverNotification
 * @see ObserverNotification
 */
public class ConversationCreatedObserverNotification extends ConversationObserverNotification{

	private String[] userList;

	public ConversationCreatedObserverNotification(int convId, String localUsername, String[] userList) {
		super(convId, null, localUsername);
		this.userList = userList;
	}

	public String[] getUserList() {
		return userList;
	}

	public void setUserList(String[] userList) {
		this.userList = userList;
	}
	
	public String getStringOfUsers() {
		String s = "";
		for(int i=0;i<this.userList.length;i++){
			s+=this.userList[i]+" ";
		}
		return s;
	}

}
